package com.company.hidden;

import com.company.inter.AD;

//子类隐藏父类的方法
public class ADHero extends Hero implements AD {
    @Override
    public void PhysicalAttacks(){
        System.out.println("进行物理攻击");
    }
    // 隐藏父类的battleWin方法
    public static void battleWin(){
        System.out.println("ad hero battle win");

    }

}
